<script type="text/javascript" >
<{include file='product/putaway/js/putaway.js'}>
<{include file='product/putaway/js/select-shelf.js'}>
</script>
<link href="/css/product/putaway.css" rel="stylesheet" type="text/css"/>
<div class="search_div">
    <form id="sForm" name="sForm">
        <div>
            <label>
                <{$lang.receive}><{$lang.code}>:<input type="text" value="" onfocus="this.value=''" onkeyup="if(event.keyCode==13){submitsearch();}" name="receivingCode" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.put_away}><{$lang.code}>:<input type="text" value="" onfocus="this.value=''" onkeyup="if(event.keyCode==13){submitsearch();}" name="putawayNo" class="myInput"/>
            </label>&nbsp;
            <input class="button search" type="button" value="<{$lang.search}>">
        </div>
    </form>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="receiving" class="myTab">
    <tbody>
    <tr class="even-tr">
        <th><input type="checkbox" name="ckAll" id="ckAll"/></th>
        <th><{$lang.receive}><{$lang.code}></th>
        <th><{$lang.receive}><{$lang.No}></th>
        <th><{$lang.customer_code}>-<{$lang.sku}></th>
        <th><{$lang.product}><{$lang.name}></th>
        <th><{$lang.weight}></th>
        <th><{$lang.receive}><{$lang.type}></th>
        <th><{$lang.deliver}><{$lang.quantity}></th>
        <th><{$lang.receive}><{$lang.quantity}></th>
        <th><{$lang.put_away}><{$lang.quantity}></th>
        <th><{$lang.operation}></th>
    </tr>
    </tbody>
    <tbody id="loadData">
    <tr>
        <td colspan='13' align='center'><{$lang.pls_input}><{$lang.receive}><{$lang.code}>!</td>
    </tr>
    </tbody>
</table>
<div id="putaway" style="margin-top: 18px;display: none;">
    <form name="putawayForm" id="putawayForm" method="post">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
            <tbody>
            <tr class="even-tr">
                <th><{$lang.receive}><{$lang.No}></th>
                <th><{$lang.receive}><{$lang.code}></th>
                <th><{$lang.receive}><{$lang.No}></th>
                <th><{$lang.category}></th>
                <th><{$lang.customer_code}>-<{$lang.sku}></th>
                <th><{$lang.quantity}></th>
                <th><{$lang.recommend}><{$lang.ws_code}></th>
                <th><{$lang.ws_code}></th>
                <th><{$lang.operation}></th>
            </tr>
            </tbody>
            <tbody id="PutawayloadData"></tbody>
            <tbody>
            <tr>
                <td colspan="9"><input type="button" value="<{$lang.submit}><{$lang.put_away}>" class="button submitputaway"></td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<div id="putawaylist" style="margin-top: 18px;display: none;">
    <form name="putawaylistForm" id="putawaylistForm" method="post">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
            <tbody>
            <tr class="even-tr">
                <th><{$lang.receive}><{$lang.No}></th>
                <th><{$lang.receive}><{$lang.code}></th>
                <th><{$lang.product}><{$lang.directory}></th>
                <th><{$lang.customer_code}>-<{$lang.sku}></th>
                <th><{$lang.status}></th>
                <th><{$lang.quantity}></th>
                <th><{$lang.recommend}><{$lang.ws_code}></th>
                <th><{$lang.ws_code}></th>
                <th><{$lang.operation}></th>
            </tr>
            </tbody>
            <tbody id="PutawaylistloadData"></tbody>
            <tbody id="submitputawayid">
            <tr>
                <td colspan="9"><input type="button" value="<{$lang.submit}><{$lang.confirm}>" class="button submitputawaylist"></td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<!--查看<{$lang.detail}>-->
<div id="dialog" style="display:none;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
        <tbody>
        <tr class="even-tr">
            <th><{$lang.customer_code}>-<{$lang.sku}></th>
            <th><{$lang.ws_code}></th>
            <th><{$lang.ws_code}><{$lang.type}></th>
            <th><{$lang.inventory}><{$lang.quantity}></th>
        </tr>
        </tbody>
        <tbody id="wplistloadData"></tbody>
    </table>
</div>
<!--<{$lang.pls}><{$lang.ws_code}>-->
<div id="shelfdialog" style="display:none;">
    <div style="padding: 10px; width: 92%;">
        <form id="shelfForm" name="shelfForm">
            <input type="hidden" id="select_product_id" name="select_product_id" value=""><!--用于对应判断对应<{$lang.directory}>-->
            <div>
                <label>
                    <{$lang.warehouse}>：<select name="s_warehouse_id" id="warehouse_id" onchange="submitShelfSearch();"
                               class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>

                </select>
                </label>&nbsp;
                <label>
                    <{$lang.warehouse}><{$lang.zone}>：<select name="s_wa_code" onchange="submitShelfSearch();" id="room_wa_code"
                                 class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>
                </select>
                </label>&nbsp;
				<!--
                <label>
                    <{$lang.room}>：<select name="s_wh_code" onchange="submitShelfSearch();" id="room_number"
                                class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>
                </select>
                </label>&nbsp;
				-->
                <input class="button searchshelf" type="button" value="<{$lang.search}>">
            </div>
        </form>
    </div>
    <div id="shelfloadData"></div>
    <div style="clear: both;"></div>
    <div class="pagination"></div>
</div>